package yl.hs.bmipfull.pojo.production;

import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.util.Date;

/**
 * @author 张凯
 * @apiNote 生产记录表实体类
 * @since 2021年10月25日 15时53分41秒
 */
@DBTable(disName = "生产记录表", mapCode = "production_record")
public class ProductionRecordEntity extends BaseEntity {

    /**
     * 主键
     */
    @Nullable
    private Long id;
    /**
     * 生产任务编号
     */
    private String taskSn;
    /**
     * 产出数量
     */
    private Float actualOutput;
    /**
     * 生产时间
     */
    private Date startTime;
    /**
     * 接料时间
     */
    private Date receivingTime;
    /**
     * 生产线编号
     */
    private String productLineSn;

    /**
     * 生产线编号
     */
    private String productLineName;
    /**
     * 工地名称
     */
    private String projectName;
    /**
     * 施工部位
     */
    private String projectPart;
    /**
     * 产品名称
     */
    private String productName;
    /**
     * 产品规格
     */
    private String productCate;
    /**
     * 车分组
     */
    private String carGroup;
    /**
     * 车号
     */
    private String carCode;
    /**
     * 司机
     */
    private String driver;
    /**
     * 操作人
     */
    private String operator;
    /**
     * 盘次
     */
    private Integer diskItem;

    private String matchingNumber;

    public String getMatchingNumber() {
        return matchingNumber;
    }

    public void setMatchingNumber(String matchingNumber) {
        this.matchingNumber = matchingNumber;
    }

    public Date getReceivingTime() {
        return receivingTime;
    }

    public void setReceivingTime(Date receivingTime) {
        this.receivingTime = receivingTime;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return this.id;
    }

    public void setTaskSn(String taskSn) {
        this.taskSn = taskSn;
    }

    public String getTaskSn() {
        return this.taskSn;
    }

    public void setActualOutput(Float actualOutput) {
        this.actualOutput = actualOutput;
    }

    public Float getActualOutput() {
        return this.actualOutput;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getStartTime() {
        return this.startTime;
    }

    public void setProductLineSn(String productLineSn) {
        this.productLineSn = productLineSn;
    }

    public String getProductLineSn() {
        return this.productLineSn;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getProjectName() {
        return this.projectName;
    }

    public void setProjectPart(String projectPart) {
        this.projectPart = projectPart;
    }

    public String getProjectPart() {
        return this.projectPart;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductName() {
        return this.productName;
    }

    public void setProductCate(String productCate) {
        this.productCate = productCate;
    }

    public String getProductCate() {
        return this.productCate;
    }

    public void setCarGroup(String carGroup) {
        this.carGroup = carGroup;
    }

    public String getCarGroup() {
        return this.carGroup;
    }

    public void setCarCode(String carCode) {
        this.carCode = carCode;
    }

    public String getCarCode() {
        return this.carCode;
    }

    public void setDriver(String driver) {
        this.driver = driver;
    }

    public String getDriver() {
        return this.driver;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getOperator() {
        return this.operator;
    }

    public void setDiskItem(Integer diskItem) {
        this.diskItem = diskItem;
    }

    public Integer getDiskItem() {
        return this.diskItem;
    }

    public ProductionRecordEntity(@Nullable Long id, Float actualOutput, Integer diskItem) {
        this.id = id;
        this.actualOutput = actualOutput;
        this.diskItem = diskItem;
    }
    public ProductionRecordEntity() {
    }
}